<?php
namespace Zxf5115\Laravel\Advertising\Controllers\Api\Advertising;

use Zxf5115\Laravel\Kernel\Controllers\Api\ApiController;

/**
 * @author zhangxiaofei [<1326336909@qq.com>]
 * @dateTime 2025-09-23
 *
 * 广告位控制器类
 */
class PositionController extends ApiController
{
  /**
   * 关键字查询配置
   */
  protected array $allowKeywordParams = [
    'receive' => 'keyword',
    'match' => [
      'name',
      'title',
    ]
  ];

  /**
   * 关联预加载配置
   */
  protected array $withRelations = [
    'data' => [
      'advertising'
    ]
  ];
}
